package com.zjuh.goodboy.misc.iterator;

import java.util.Iterator;

public class ResultIteratorSupport<E> implements ResultIterator<E> {

	private Iterator<E> it;
	
	public ResultIteratorSupport(Iterator<E> it) {
		super();
		this.it = it;
	}

	@Override
	public void close() {
		
	}

	@Override
	public boolean hasNext() {
		return it.hasNext();
	}

	@Override
	public E next() {
		return it.next();
	}

}
